package org.goldfish.cookied_chatroom02.entity;
/**
 * CREATE TABLE `message_summary` (<br/>
 * `id` int NOT NULL AUTO_INCREMENT,<br/>
 * `user_id` int DEFAULT NULL,<br/>
 * `title` varchar(100) DEFAULT NULL,<br/>
 * `summary` varchar(100) DEFAULT NULL,<br/>
 * `time` datetime DEFAULT CURRENT_TIMESTAMP,<br/>
 * PRIMARY KEY (`id`)<br/>
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci<br/>
 */
public class PreviewBean {
    private int id;
    private String sender;
    private String receiver;
    private String title;
    private String summary;
    private String time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getSender() {
        return sender;
    }

    public String getSummary() {
        return summary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }
}
